@import '../../assets/css/CommonStyle.scss';
@include media('>=tablet') {
  .chartCardsContainer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: space-between;
  }
  .chartCard {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    padding: p-w(24);
    width: 23.5%;
    height: p-w(390);
    min-width: 180px;
    margin-right: 2%;
    margin-bottom: p-w(24);
    min-height: 290px;
  }
  .chartCardHig {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    padding-top: 24px;
    width: 49%;
    height: p-w(390);
    min-width: 410px;
    margin-bottom: p-w(24);
    min-height: 290px;
  }
  .title {
    font-weight: bold;
    display: flex;
    font-size: 16px;
    justify-content: center;
  }
  .chartContent {
    padding-top: p-w(40);
  }
  .chartMsg {
    display: flex;
    justify-content: space-between;
    padding-top: p-h(20);

    .statisticsMsg {
      display: flex;
      width: 50%;
      justify-content: flex-end;
      padding-right: 10px;
      &:last-child {
        margin-left: 10px;
        justify-content: flex-start;
        padding-left: 28px;
      }
      .complete {
        font-size: 14px;
        display: flex;
        margin-left: -18px;
        align-items: center;
        margin-bottom: p-w(16);
      }
      .statisticsContent {
        font-weight: bold;
        font-size: p-w(26);
        margin-bottom: 5px;
      }
    }
    .dot {
      height: 8px;
      width: 8px;
      background-color: #8db545;
      border-radius: 4px;
      margin-right: 10px;
    }
  }
  .msgContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: p-h(20);
  }
}

@include media('>phone', '<=tablet') {
  .chartCardsContainer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: space-between;
  }
  .chartCard {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    padding: pad-w(24);
    width: 23.5%;
    height: pad-w(320);
    min-width: 100px;
    min-height: 200px;
    margin-right: 2%;
    margin-bottom: pad-w(24);
  }
  .chartCardHig {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    padding-top: 24px;
    width: 49%;
    height: pad-w(320);
    min-width: 300px;
    min-height: 200px;
    margin-bottom: pad-w(24);
  }
  .title {
    font-weight: bold;
    display: flex;
    font-size: 16px;
    justify-content: center;
  }
  .chartContent {
    padding-top: pad-w(10);
  }
  .chartMsg {
    display: flex;
    justify-content: center;
    .statisticsMsg {
      display: flex;
      width: 50%;
      justify-content: flex-end;
      padding-right: 10px;
      &:last-child {
        justify-content: flex-start;
        padding-left: pad-w(28);
      }
      .complete {
        font-size: 14px;
        display: flex;
        margin-left: -18px;
        align-items: center;
        margin-bottom: p-w(16);
      }
    }
    .dot {
      height: 8px;
      width: 8px;
      background-color: #8db545;
      border-radius: 4px;
      margin-right: 5px;
      margin-top: 6px;
    }
  }
  .msgContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: p-h(20);
  }
  .statisticsContent {
    font-weight: bold;
    margin-bottom: p-h(15);
  }
}

// @media screen and (max-width: $pad-width) {

// }
@include media('<=phone') {
  .chartCardsContainer {
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    .chartCard {
      display: flex;
      flex-direction: column;
      background-color: white;
      width: 100%;
      padding: m-w(24) m-w(48) m-w(48) m-w(48);
      margin-bottom: 10px;
      // min-height: 230px;
    }
    .chartCardHig {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding-bottom: m-w(24);
      margin-bottom: 10px;
      min-width: 0px;
      background-color: white;
      .title {
        padding-left: 24px;
        padding-top: m-w(24);
        font-size: m-w(28);
        font-weight: bold;
        display: flex;
        justify-content: flex-start;
        margin-bottom: m-w(35);
      }
    }

    .chartContent {
      display: flex;
      flex-direction: row;
      align-items: center;
    }
    .title {
      font-size: m-w(28);
      font-weight: bold;
      display: flex;
      justify-content: flex-start;
      margin-bottom: m-w(35);
    }
    .chartMsg {
      display: flex;
      justify-content: space-between;
      margin-left: 8%;
      flex: 1;
      .statisticsMsg {
        display: flex;
        flex-direction: row;
        // padding-top: p-h(24);
        min-width: m-w(120);
        margin-left: 15%;
        width: 45%;
        &:last-child {
          margin-right: m-w(0);
        }
      }

      .msgContainer {
        display: flex;
        flex-direction: column;
        align-items: center;

        .dot {
          height: 8px;
          width: 8px;
          background-color: #8db545;
          border-radius: 4px;
          margin-right: 10px;
        }
        .complete {
          font-size: m-w(28);
          display: flex;
          margin-left: -18px;
          align-items: center;
        }
        .statisticsContent {
          font-size: m-w(42);
          font-weight: bold;
          margin-top: m-w(14);
          margin-bottom: m-w(15);
        }
      }
    }
  }
}
